import {ResultData} from "@/api/base_request";
import {request} from "@/api/base_request/Request";

interface User {
    age: number,
    name: string,
    address:string
}

export const getUserList = async ()=>{
    return request.get<ResultData<User[]>>('/api/users')
}


